package com.yl.auth.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yl.auth.entity.Fangjianleixing;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ln
 * @since 2023-06-17
 */
public interface FangjianleixingMapper extends BaseMapper<Fangjianleixing> {

    IPage<Fangjianleixing> findzidian(Page<Fangjianleixing> pagefarm);
    void add(@Param("fangjianleixing") Fangjianleixing fangjianleixing);

    Fangjianleixing getByIdleixing(Long id);
}
